﻿using NotifyCenter;
using NotifyCenter.Sender;

namespace Microsoft.Extensions.DependencyInjection;
public static class FeishuSenderDependencyInjectionExtensions
{
    public static IServiceCollection AddFeishuSender(this IServiceCollection services)
    {
        services.AddTransient<ISender, FeishuGroupCardSender>();
        services.AddTransient<ISender, FeishuSender>();
        return services;
    }
}
